* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    background: #f8fafc;
    padding: 2rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow-x: auto;
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95em;
}

.styled-table thead tr {
    background: #3b82f6;
    color: white;
}

.styled-table th,
.styled-table td {
    padding: 16px 24px;
    text-align: left;
}

.styled-table th {
    min-width: 120px;
}

.styled-table td {
    color: #475569;
}

.styled-table tbody tr {
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.2s;
}

.styled-table tbody tr:nth-of-type(even) {
    background: #f8fafc;
}

.styled-table tbody tr:last-of-type {
    border-bottom: 2px solid #3b82f6;
}

.styled-table tbody tr:hover {
    background: #f1f5f9;
    transform: translateX(4px);
}

.sortable {
    cursor: pointer;
    transition: background 0.3s;
    position: relative;
}

.sortable:hover {
    background: #2563eb;
}

.description {
    max-width: 400px;
    line-height: 1.6;
    white-space: normal;
}

.gender-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85em;
}

.male {
    background: #60a5fa;
    color: white;
}

.female {
    background: #f472b6;
    color: white;
}

@media (max-width: 768px) {
    .container {
        border-radius: 0;
        box-shadow: none;
    }

    .styled-table {
        font-size: 0.85em;
    }

    .styled-table th,
    .styled-table td {
        padding: 12px 16px;
    }

    .description {
        max-width: 200px;
    }
}